package com.github.thinwonton.spring.aop.autoproxy;

import org.springframework.aop.AfterReturningAdvice;

import java.lang.reflect.Method;

/**
 * 操作日志增强器
 */
public class OperationLogAdvisor implements AfterReturningAdvice {
    @Override
    public void afterReturning(Object returnValue, Method method, Object[] args, Object target) throws Throwable {
        System.out.println("操作日志增强器记录了日志");
    }
}
